package com.dwxt.cdms.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class LbWatchDataExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LbWatchDataExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCustomer_idIsNull() {
            addCriterion("customer_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomer_idIsNotNull() {
            addCriterion("customer_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomer_idEqualTo(Integer value) {
            addCriterion("customer_id =", value, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomer_idNotEqualTo(Integer value) {
            addCriterion("customer_id <>", value, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomer_idGreaterThan(Integer value) {
            addCriterion("customer_id >", value, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomer_idGreaterThanOrEqualTo(Integer value) {
            addCriterion("customer_id >=", value, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomer_idLessThan(Integer value) {
            addCriterion("customer_id <", value, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomer_idLessThanOrEqualTo(Integer value) {
            addCriterion("customer_id <=", value, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomer_idIn(List<Integer> values) {
            addCriterion("customer_id in", values, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomer_idNotIn(List<Integer> values) {
            addCriterion("customer_id not in", values, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomer_idBetween(Integer value1, Integer value2) {
            addCriterion("customer_id between", value1, value2, "customer_id");
            return (Criteria) this;
        }

        public Criteria andCustomer_idNotBetween(Integer value1, Integer value2) {
            addCriterion("customer_id not between", value1, value2, "customer_id");
            return (Criteria) this;
        }

        public Criteria andDeviceMacIsNull() {
            addCriterion("deviceMac is null");
            return (Criteria) this;
        }

        public Criteria andDeviceMacIsNotNull() {
            addCriterion("deviceMac is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceMacEqualTo(String value) {
            addCriterion("deviceMac =", value, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacNotEqualTo(String value) {
            addCriterion("deviceMac <>", value, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacGreaterThan(String value) {
            addCriterion("deviceMac >", value, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacGreaterThanOrEqualTo(String value) {
            addCriterion("deviceMac >=", value, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacLessThan(String value) {
            addCriterion("deviceMac <", value, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacLessThanOrEqualTo(String value) {
            addCriterion("deviceMac <=", value, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacLike(String value) {
            addCriterion("deviceMac like", value, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacNotLike(String value) {
            addCriterion("deviceMac not like", value, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacIn(List<String> values) {
            addCriterion("deviceMac in", values, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacNotIn(List<String> values) {
            addCriterion("deviceMac not in", values, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacBetween(String value1, String value2) {
            addCriterion("deviceMac between", value1, value2, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andDeviceMacNotBetween(String value1, String value2) {
            addCriterion("deviceMac not between", value1, value2, "deviceMac");
            return (Criteria) this;
        }

        public Criteria andRecordIdIsNull() {
            addCriterion("recordId is null");
            return (Criteria) this;
        }

        public Criteria andRecordIdIsNotNull() {
            addCriterion("recordId is not null");
            return (Criteria) this;
        }

        public Criteria andRecordIdEqualTo(String value) {
            addCriterion("recordId =", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdNotEqualTo(String value) {
            addCriterion("recordId <>", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdGreaterThan(String value) {
            addCriterion("recordId >", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdGreaterThanOrEqualTo(String value) {
            addCriterion("recordId >=", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdLessThan(String value) {
            addCriterion("recordId <", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdLessThanOrEqualTo(String value) {
            addCriterion("recordId <=", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdLike(String value) {
            addCriterion("recordId like", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdNotLike(String value) {
            addCriterion("recordId not like", value, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdIn(List<String> values) {
            addCriterion("recordId in", values, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdNotIn(List<String> values) {
            addCriterion("recordId not in", values, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdBetween(String value1, String value2) {
            addCriterion("recordId between", value1, value2, "recordId");
            return (Criteria) this;
        }

        public Criteria andRecordIdNotBetween(String value1, String value2) {
            addCriterion("recordId not between", value1, value2, "recordId");
            return (Criteria) this;
        }

        public Criteria andReportTimeIsNull() {
            addCriterion("reportTime is null");
            return (Criteria) this;
        }

        public Criteria andReportTimeIsNotNull() {
            addCriterion("reportTime is not null");
            return (Criteria) this;
        }

        public Criteria andReportTimeEqualTo(Date value) {
            addCriterion("reportTime =", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeNotEqualTo(Date value) {
            addCriterion("reportTime <>", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeGreaterThan(Date value) {
            addCriterion("reportTime >", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("reportTime >=", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeLessThan(Date value) {
            addCriterion("reportTime <", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeLessThanOrEqualTo(Date value) {
            addCriterion("reportTime <=", value, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeIn(List<Date> values) {
            addCriterion("reportTime in", values, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeNotIn(List<Date> values) {
            addCriterion("reportTime not in", values, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeBetween(Date value1, Date value2) {
            addCriterion("reportTime between", value1, value2, "reportTime");
            return (Criteria) this;
        }

        public Criteria andReportTimeNotBetween(Date value1, Date value2) {
            addCriterion("reportTime not between", value1, value2, "reportTime");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreate_timeEqualTo(Date value) {
            addCriterion("create_time =", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeGreaterThan(Date value) {
            addCriterion("create_time >", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeLessThan(Date value) {
            addCriterion("create_time <", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeIn(List<Date> values) {
            addCriterion("create_time in", values, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "create_time");
            return (Criteria) this;
        }

        public Criteria andCreate_timeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "create_time");
            return (Criteria) this;
        }

        public Criteria andBloodOxygenIsNull() {
            addCriterion("bloodOxygen is null");
            return (Criteria) this;
        }

        public Criteria andBloodOxygenIsNotNull() {
            addCriterion("bloodOxygen is not null");
            return (Criteria) this;
        }

        public Criteria andBloodOxygenEqualTo(Integer value) {
            addCriterion("bloodOxygen =", value, "bloodOxygen");
            return (Criteria) this;
        }

        public Criteria andBloodOxygenNotEqualTo(Integer value) {
            addCriterion("bloodOxygen <>", value, "bloodOxygen");
            return (Criteria) this;
        }

        public Criteria andBloodOxygenGreaterThan(Integer value) {
            addCriterion("bloodOxygen >", value, "bloodOxygen");
            return (Criteria) this;
        }

        public Criteria andBloodOxygenGreaterThanOrEqualTo(Integer value) {
            addCriterion("bloodOxygen >=", value, "bloodOxygen");
            return (Criteria) this;
        }

        public Criteria andBloodOxygenLessThan(Integer value) {
            addCriterion("bloodOxygen <", value, "bloodOxygen");
            return (Criteria) this;
        }

        public Criteria andBloodOxygenLessThanOrEqualTo(Integer value) {
            addCriterion("bloodOxygen <=", value, "bloodOxygen");
            return (Criteria) this;
        }

        public Criteria andBloodOxygenIn(List<Integer> values) {
            addCriterion("bloodOxygen in", values, "bloodOxygen");
            return (Criteria) this;
        }

        public Criteria andBloodOxygenNotIn(List<Integer> values) {
            addCriterion("bloodOxygen not in", values, "bloodOxygen");
            return (Criteria) this;
        }

        public Criteria andBloodOxygenBetween(Integer value1, Integer value2) {
            addCriterion("bloodOxygen between", value1, value2, "bloodOxygen");
            return (Criteria) this;
        }

        public Criteria andBloodOxygenNotBetween(Integer value1, Integer value2) {
            addCriterion("bloodOxygen not between", value1, value2, "bloodOxygen");
            return (Criteria) this;
        }

        public Criteria andSystolicPressureIsNull() {
            addCriterion("systolicPressure is null");
            return (Criteria) this;
        }

        public Criteria andSystolicPressureIsNotNull() {
            addCriterion("systolicPressure is not null");
            return (Criteria) this;
        }

        public Criteria andSystolicPressureEqualTo(Integer value) {
            addCriterion("systolicPressure =", value, "systolicPressure");
            return (Criteria) this;
        }

        public Criteria andSystolicPressureNotEqualTo(Integer value) {
            addCriterion("systolicPressure <>", value, "systolicPressure");
            return (Criteria) this;
        }

        public Criteria andSystolicPressureGreaterThan(Integer value) {
            addCriterion("systolicPressure >", value, "systolicPressure");
            return (Criteria) this;
        }

        public Criteria andSystolicPressureGreaterThanOrEqualTo(Integer value) {
            addCriterion("systolicPressure >=", value, "systolicPressure");
            return (Criteria) this;
        }

        public Criteria andSystolicPressureLessThan(Integer value) {
            addCriterion("systolicPressure <", value, "systolicPressure");
            return (Criteria) this;
        }

        public Criteria andSystolicPressureLessThanOrEqualTo(Integer value) {
            addCriterion("systolicPressure <=", value, "systolicPressure");
            return (Criteria) this;
        }

        public Criteria andSystolicPressureIn(List<Integer> values) {
            addCriterion("systolicPressure in", values, "systolicPressure");
            return (Criteria) this;
        }

        public Criteria andSystolicPressureNotIn(List<Integer> values) {
            addCriterion("systolicPressure not in", values, "systolicPressure");
            return (Criteria) this;
        }

        public Criteria andSystolicPressureBetween(Integer value1, Integer value2) {
            addCriterion("systolicPressure between", value1, value2, "systolicPressure");
            return (Criteria) this;
        }

        public Criteria andSystolicPressureNotBetween(Integer value1, Integer value2) {
            addCriterion("systolicPressure not between", value1, value2, "systolicPressure");
            return (Criteria) this;
        }

        public Criteria andDiastolicPressureIsNull() {
            addCriterion("diastolicPressure is null");
            return (Criteria) this;
        }

        public Criteria andDiastolicPressureIsNotNull() {
            addCriterion("diastolicPressure is not null");
            return (Criteria) this;
        }

        public Criteria andDiastolicPressureEqualTo(Integer value) {
            addCriterion("diastolicPressure =", value, "diastolicPressure");
            return (Criteria) this;
        }

        public Criteria andDiastolicPressureNotEqualTo(Integer value) {
            addCriterion("diastolicPressure <>", value, "diastolicPressure");
            return (Criteria) this;
        }

        public Criteria andDiastolicPressureGreaterThan(Integer value) {
            addCriterion("diastolicPressure >", value, "diastolicPressure");
            return (Criteria) this;
        }

        public Criteria andDiastolicPressureGreaterThanOrEqualTo(Integer value) {
            addCriterion("diastolicPressure >=", value, "diastolicPressure");
            return (Criteria) this;
        }

        public Criteria andDiastolicPressureLessThan(Integer value) {
            addCriterion("diastolicPressure <", value, "diastolicPressure");
            return (Criteria) this;
        }

        public Criteria andDiastolicPressureLessThanOrEqualTo(Integer value) {
            addCriterion("diastolicPressure <=", value, "diastolicPressure");
            return (Criteria) this;
        }

        public Criteria andDiastolicPressureIn(List<Integer> values) {
            addCriterion("diastolicPressure in", values, "diastolicPressure");
            return (Criteria) this;
        }

        public Criteria andDiastolicPressureNotIn(List<Integer> values) {
            addCriterion("diastolicPressure not in", values, "diastolicPressure");
            return (Criteria) this;
        }

        public Criteria andDiastolicPressureBetween(Integer value1, Integer value2) {
            addCriterion("diastolicPressure between", value1, value2, "diastolicPressure");
            return (Criteria) this;
        }

        public Criteria andDiastolicPressureNotBetween(Integer value1, Integer value2) {
            addCriterion("diastolicPressure not between", value1, value2, "diastolicPressure");
            return (Criteria) this;
        }

        public Criteria andHeartRateIsNull() {
            addCriterion("heartRate is null");
            return (Criteria) this;
        }

        public Criteria andHeartRateIsNotNull() {
            addCriterion("heartRate is not null");
            return (Criteria) this;
        }

        public Criteria andHeartRateEqualTo(Integer value) {
            addCriterion("heartRate =", value, "heartRate");
            return (Criteria) this;
        }

        public Criteria andHeartRateNotEqualTo(Integer value) {
            addCriterion("heartRate <>", value, "heartRate");
            return (Criteria) this;
        }

        public Criteria andHeartRateGreaterThan(Integer value) {
            addCriterion("heartRate >", value, "heartRate");
            return (Criteria) this;
        }

        public Criteria andHeartRateGreaterThanOrEqualTo(Integer value) {
            addCriterion("heartRate >=", value, "heartRate");
            return (Criteria) this;
        }

        public Criteria andHeartRateLessThan(Integer value) {
            addCriterion("heartRate <", value, "heartRate");
            return (Criteria) this;
        }

        public Criteria andHeartRateLessThanOrEqualTo(Integer value) {
            addCriterion("heartRate <=", value, "heartRate");
            return (Criteria) this;
        }

        public Criteria andHeartRateIn(List<Integer> values) {
            addCriterion("heartRate in", values, "heartRate");
            return (Criteria) this;
        }

        public Criteria andHeartRateNotIn(List<Integer> values) {
            addCriterion("heartRate not in", values, "heartRate");
            return (Criteria) this;
        }

        public Criteria andHeartRateBetween(Integer value1, Integer value2) {
            addCriterion("heartRate between", value1, value2, "heartRate");
            return (Criteria) this;
        }

        public Criteria andHeartRateNotBetween(Integer value1, Integer value2) {
            addCriterion("heartRate not between", value1, value2, "heartRate");
            return (Criteria) this;
        }

        public Criteria andMeasureTimeIsNull() {
            addCriterion("measureTime is null");
            return (Criteria) this;
        }

        public Criteria andMeasureTimeIsNotNull() {
            addCriterion("measureTime is not null");
            return (Criteria) this;
        }

        public Criteria andMeasureTimeEqualTo(Date value) {
            addCriterion("measureTime =", value, "measureTime");
            return (Criteria) this;
        }

        public Criteria andMeasureTimeNotEqualTo(Date value) {
            addCriterion("measureTime <>", value, "measureTime");
            return (Criteria) this;
        }

        public Criteria andMeasureTimeGreaterThan(Date value) {
            addCriterion("measureTime >", value, "measureTime");
            return (Criteria) this;
        }

        public Criteria andMeasureTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("measureTime >=", value, "measureTime");
            return (Criteria) this;
        }

        public Criteria andMeasureTimeLessThan(Date value) {
            addCriterion("measureTime <", value, "measureTime");
            return (Criteria) this;
        }

        public Criteria andMeasureTimeLessThanOrEqualTo(Date value) {
            addCriterion("measureTime <=", value, "measureTime");
            return (Criteria) this;
        }

        public Criteria andMeasureTimeIn(List<Date> values) {
            addCriterion("measureTime in", values, "measureTime");
            return (Criteria) this;
        }

        public Criteria andMeasureTimeNotIn(List<Date> values) {
            addCriterion("measureTime not in", values, "measureTime");
            return (Criteria) this;
        }

        public Criteria andMeasureTimeBetween(Date value1, Date value2) {
            addCriterion("measureTime between", value1, value2, "measureTime");
            return (Criteria) this;
        }

        public Criteria andMeasureTimeNotBetween(Date value1, Date value2) {
            addCriterion("measureTime not between", value1, value2, "measureTime");
            return (Criteria) this;
        }

        public Criteria andMeasureTypeIsNull() {
            addCriterion("measureType is null");
            return (Criteria) this;
        }

        public Criteria andMeasureTypeIsNotNull() {
            addCriterion("measureType is not null");
            return (Criteria) this;
        }

        public Criteria andMeasureTypeEqualTo(Integer value) {
            addCriterion("measureType =", value, "measureType");
            return (Criteria) this;
        }

        public Criteria andMeasureTypeNotEqualTo(Integer value) {
            addCriterion("measureType <>", value, "measureType");
            return (Criteria) this;
        }

        public Criteria andMeasureTypeGreaterThan(Integer value) {
            addCriterion("measureType >", value, "measureType");
            return (Criteria) this;
        }

        public Criteria andMeasureTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("measureType >=", value, "measureType");
            return (Criteria) this;
        }

        public Criteria andMeasureTypeLessThan(Integer value) {
            addCriterion("measureType <", value, "measureType");
            return (Criteria) this;
        }

        public Criteria andMeasureTypeLessThanOrEqualTo(Integer value) {
            addCriterion("measureType <=", value, "measureType");
            return (Criteria) this;
        }

        public Criteria andMeasureTypeIn(List<Integer> values) {
            addCriterion("measureType in", values, "measureType");
            return (Criteria) this;
        }

        public Criteria andMeasureTypeNotIn(List<Integer> values) {
            addCriterion("measureType not in", values, "measureType");
            return (Criteria) this;
        }

        public Criteria andMeasureTypeBetween(Integer value1, Integer value2) {
            addCriterion("measureType between", value1, value2, "measureType");
            return (Criteria) this;
        }

        public Criteria andMeasureTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("measureType not between", value1, value2, "measureType");
            return (Criteria) this;
        }

        public Criteria andSportStatusIsNull() {
            addCriterion("sportStatus is null");
            return (Criteria) this;
        }

        public Criteria andSportStatusIsNotNull() {
            addCriterion("sportStatus is not null");
            return (Criteria) this;
        }

        public Criteria andSportStatusEqualTo(Integer value) {
            addCriterion("sportStatus =", value, "sportStatus");
            return (Criteria) this;
        }

        public Criteria andSportStatusNotEqualTo(Integer value) {
            addCriterion("sportStatus <>", value, "sportStatus");
            return (Criteria) this;
        }

        public Criteria andSportStatusGreaterThan(Integer value) {
            addCriterion("sportStatus >", value, "sportStatus");
            return (Criteria) this;
        }

        public Criteria andSportStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("sportStatus >=", value, "sportStatus");
            return (Criteria) this;
        }

        public Criteria andSportStatusLessThan(Integer value) {
            addCriterion("sportStatus <", value, "sportStatus");
            return (Criteria) this;
        }

        public Criteria andSportStatusLessThanOrEqualTo(Integer value) {
            addCriterion("sportStatus <=", value, "sportStatus");
            return (Criteria) this;
        }

        public Criteria andSportStatusIn(List<Integer> values) {
            addCriterion("sportStatus in", values, "sportStatus");
            return (Criteria) this;
        }

        public Criteria andSportStatusNotIn(List<Integer> values) {
            addCriterion("sportStatus not in", values, "sportStatus");
            return (Criteria) this;
        }

        public Criteria andSportStatusBetween(Integer value1, Integer value2) {
            addCriterion("sportStatus between", value1, value2, "sportStatus");
            return (Criteria) this;
        }

        public Criteria andSportStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("sportStatus not between", value1, value2, "sportStatus");
            return (Criteria) this;
        }

        public Criteria andPidIsNull() {
            addCriterion("pid is null");
            return (Criteria) this;
        }

        public Criteria andPidIsNotNull() {
            addCriterion("pid is not null");
            return (Criteria) this;
        }

        public Criteria andPidEqualTo(Integer value) {
            addCriterion("pid =", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotEqualTo(Integer value) {
            addCriterion("pid <>", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidGreaterThan(Integer value) {
            addCriterion("pid >", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidGreaterThanOrEqualTo(Integer value) {
            addCriterion("pid >=", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidLessThan(Integer value) {
            addCriterion("pid <", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidLessThanOrEqualTo(Integer value) {
            addCriterion("pid <=", value, "pid");
            return (Criteria) this;
        }

        public Criteria andPidIn(List<Integer> values) {
            addCriterion("pid in", values, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotIn(List<Integer> values) {
            addCriterion("pid not in", values, "pid");
            return (Criteria) this;
        }

        public Criteria andPidBetween(Integer value1, Integer value2) {
            addCriterion("pid between", value1, value2, "pid");
            return (Criteria) this;
        }

        public Criteria andPidNotBetween(Integer value1, Integer value2) {
            addCriterion("pid not between", value1, value2, "pid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}